package com.example.demo.service;

import com.example.demo.dao.Activity;
import com.example.demo.dao.ActivityExample;


import java.util.List;

public interface activityService {
    List<Activity> getAllActivity(ActivityExample activityExample);
     Activity findActivity(Integer id);
    int saveActivity(Activity activity);
    //List<Activity> listActivity();
    List<Activity> listActivity(String keyword);
    //单个删除
    int delectActivity(Integer id );
    //批量删除
    int multiDel(String id);

    //活动修改
    int editActivity(Activity activity);
    Activity findactivitys(Integer activityid);
}
